package com.glasses.manage.auth.dao.impl;

import com.glasses.manage.auth.dao.MusicDao;
import com.glasses.manage.auth.entity.Music;
import com.glasses.manage.core.dao.BaseDaoImpl;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2017/9/26.
 */
@Repository("musicDao")
public class MusicDaoImpl extends BaseDaoImpl<Music> implements MusicDao {
    @Override
    public List<Music> getMusic() {
        Map<String, Object> map = new HashMap<>();
        return super.listBy(map, "getMusic");
    }
}
